
<!-- @dana Tubeileh

this the review requests page where the reviewer can open a certain request to view an exercise -->
#{extends 'main.html' /} #{set title:'Home' /}

<body bgcolor="#CCEEFF">

	#{ifnot RRequests}
	<p>
	<h2>you don't have any Review Requests yet !!!</h2>
	</p>
	#{/ifnot}

	<h2>
		<marquee bgcolor="#cccccc" loop="-1" scrollamount="2" width="100%">Your
			Review Requests</marquee>
	</h2>

	<table id="dataTable" background="lightblue" ; border="4">

		<table id="dataTable" background="#CCEEFF" ; border="4">
			<tr>
				<th
					style="background-color: Blue; font-family: herculanum; font-size: 20px">Review
					Request</th>
				<th
					style="background-color: Blue; font-family: herculanum; font-size: 25px">Action</th>

				#{list items:RRequests, as:'ReviewRequests'}
			</tr>
			<td>
				<ul>
					<li>
						<h2>Please Review this !!!</h2>
					</li>
				</ul> ${ReviewRequests.toString()}
			</td>
			<td>
				<form action="@{ReviewRequests.ViewExercise()}" method="GET">
					<div id="${ReviewRequests.ExId}">
						<button name="open" type="submit" value="${ReviewRequests.ExId}">open
							request</button>
					</div>
					<hr>
				</form>
			</td> #{/list}
			<p>
		</table>
	</table>
	<a href="@{Application.viewProfile()}">Back to Profile Page</a>



</body>


